initialize

abstract fun initialize()

Initialize any GL state needed by the custom layer. This method is called once, from themain thread, at a point when the GL context is active but before rendering for the firsttime.Resources that are acquired in this method must be released in the `deinitialize` function.